﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace PlaneClean.Models
{
    /// <summary>
    /// 用户登录信息
    /// </summary>
    public class LoginInfo
    {
        /// <summary>
        /// 用户基础信息
        /// </summary>
       public User UserInfo { get; set; }
        /// <summary>
        /// 用户角色信息
        /// </summary>
        public List<int> RoleIdList { get; set; }

    }
    /// <summary>
    /// 用户基础信息
    /// </summary>
    public class User
    {
        /// <summary>
        /// 用户id
        /// </summary>
        public int u_id { get; set; }
        /// <summary>
        /// 用户名称
        /// </summary>
        public string u_name { get; set; }
        /// <summary>
        /// 用户手机号
        /// </summary>
        public string u_phone { get; set; }
        /// <summary>
        /// 用户性别
        /// </summary>
        public string u_sex { get; set; }

        /// <summary>
        /// 用户最后登录时间"yyyy-MM-dd HH:mm:ss"
        /// </summary>
        public string u_last_login_time { get; set; }
        /// <summary>
        /// 用户token
        /// </summary>
        public string token { get; set; }


    }
    /// <summary>
    /// 用户角色信息 对应表t_group
    /// </summary>
    public class Role
    {
        public int roleId { get; set; }
        public string roleName { get; set; }
    }
}